<template>
    <div class="pt-20">
      <div class="w100 p-all-20 rowsb rowsm bgff br-16 mb-20" v-for="(item,index) in list" :key="index" @click="choseItem(item)">
              <div class="rowscl">
                  <div class="fs-16 fw-b col333 mb-6" v-if="item.name">{{item.name}}</div>
                <div class="fs-16 fw-b col333 mb-6" v-else>劳动成果</div>
                  <div class="fs-12 col666">{{item.createTime}}</div>
              </div>
              <div class="col666 fs-14">分类:劳动成果</div>
              <div class="w-80 h-30 br-15 rowsc rowsm fw-b fs-12" style="border: 1px solid #E33636;color: #E33636;">{{item.markNumber ? item.markNumber : '已通过'}}</div>
          </div>
    </div>
  </template>
  
  <script>
  export default {
    components: {},
    props: {},
    data() {
      return {
        list:[]
      };
    },
    watch: {},
    computed: {},
    methods: {
      choseItem(item){
      this.$emit('choseItem',item,2,3)
    },
      getList(){
      this.$axios.post('proldcg/listPass',{}).then(res => {
        if(res.data.code != 200) return this.$notify({
          title: '提示',
          message: res.data.msg
        });
        let {rows} = res.data
        this.list = rows
      })
    }
    },
    created() {
      this.getList()
    },
    mounted() {}
  };
  </script>
  <style lang="scss" scoped>
  </style>